3.3075 \(\int \frac {(a+b x)^m (c+d x)^{-1-m}}{e+f x} \, dx\)

Optimal. Leaf size=72 \[ -\frac {(a+b x)^m (c+d x)^{-m} \, _2F_1\left (1,-m;1-m;\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}\right )}{m (d e-c f)} \]

[Out]

-(b*x+a)^m*hypergeom([1, -m],[1-m],(-a*f+b*e)*(d*x+c)/(-c*f+d*e)/(b*x+a))/(-c*f+d*e)/m/((d*x+c)^m)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 75, normalized size of antiderivative = 1.04, number of steps used = 1, number of rules used = 1, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {131} \[ \frac {(a+b x)^{m+1} (c+d x)^{-m-1} \, _2F_1\left (1,m+1;m+2;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{(m+1) (b e-a f)} \]

Antiderivative was successfully verified.

[In]

Int[((a + b*x)^m*(c + d*x)^(-1 - m))/(e + f*x),x]

[Out]

((a + b*x)^(1 + m)*(c + d*x)^(-1 - m)*Hypergeometric2F1[1, 1 + m, 2 + m, ((d*e - c*f)*(a + b*x))/((b*e - a*f)*
(c + d*x))])/((b*e - a*f)*(1 + m))

Rule 131

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_), x_Symbol] :> Simp[((b*c -
a*d)^n*(a + b*x)^(m + 1)*Hypergeometric2F1[m + 1, -n, m + 2, -(((d*e - c*f)*(a + b*x))/((b*c - a*d)*(e + f*x))
)])/((m + 1)*(b*e - a*f)^(n + 1)*(e + f*x)^(m + 1)), x] /; FreeQ[{a, b, c, d, e, f, m, p}, x] && EqQ[m + n + p
 + 2, 0] && ILtQ[n, 0]

Rubi steps

\begin {align*} \int \frac {(a+b x)^m (c+d x)^{-1-m}}{e+f x} \, dx &=\frac {(a+b x)^{1+m} (c+d x)^{-1-m} \, _2F_1\left (1,1+m;2+m;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{(b e-a f) (1+m)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 75, normalized size = 1.04 \[ \frac {(a+b x)^{m+1} (c+d x)^{-m-1} \, _2F_1\left (1,m+1;m+2;\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}\right )}{(m+1) (b e-a f)} \]

Antiderivative was successfully verified.

[In]

Integrate[((a + b*x)^m*(c + d*x)^(-1 - m))/(e + f*x),x]

[Out]

((a + b*x)^(1 + m)*(c + d*x)^(-1 - m)*Hypergeometric2F1[1, 1 + m, 2 + m, ((d*e - c*f)*(a + b*x))/((b*e - a*f)*
(c + d*x))])/((b*e - a*f)*(1 + m))

________________________________________________________________________________________

fricas [F]  time = 1.04, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (b x + a\right )}^{m} {\left (d x + c\right )}^{-m - 1}}{f x + e}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^m*(d*x+c)^(-1-m)/(f*x+e),x, algorithm="fricas")

[Out]

integral((b*x + a)^m*(d*x + c)^(-m - 1)/(f*x + e), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b x + a\right )}^{m} {\left (d x + c\right )}^{-m - 1}}{f x + e}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^m*(d*x+c)^(-1-m)/(f*x+e),x, algorithm="giac")

[Out]

integrate((b*x + a)^m*(d*x + c)^(-m - 1)/(f*x + e), x)

________________________________________________________________________________________

maple [F]  time = 0.24, size = 0, normalized size = 0.00 \[ \int \frac {\left (b x +a \right )^{m} \left (d x +c \right )^{-m -1}}{f x +e}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)^m*(d*x+c)^(-m-1)/(f*x+e),x)

[Out]

int((b*x+a)^m*(d*x+c)^(-m-1)/(f*x+e),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b x + a\right )}^{m} {\left (d x + c\right )}^{-m - 1}}{f x + e}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^m*(d*x+c)^(-1-m)/(f*x+e),x, algorithm="maxima")

[Out]

integrate((b*x + a)^m*(d*x + c)^(-m - 1)/(f*x + e), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (a+b\,x\right )}^m}{\left (e+f\,x\right )\,{\left (c+d\,x\right )}^{m+1}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x)^m/((e + f*x)*(c + d*x)^(m + 1)),x)

[Out]

int((a + b*x)^m/((e + f*x)*(c + d*x)^(m + 1)), x)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)**m*(d*x+c)**(-1-m)/(f*x+e),x)

[Out]

Timed out

________________________________________________________________________________________